package com.special.threademo.httpreflect;

/**
 * @author LiuYC
 * @version 1.0.0
 * @create 2020-12-24 16:05
 */
public class ReflectGetClass {
    public static void main(String[] args) throws Exception {
        ;
        Class clazz = Class.forName("java.lang.String");
        System.out.println(clazz.getName());

        Class clazz1 = String.class;
        System.out.println(clazz1.getName());

        Class clazz2 = new String("liuyuchao").getClass();
        System.out.println(clazz2.getName());


    }

    ;
}
